package com.ocom.common.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
public class CompanyListDto implements Serializable {
    private static final long serialVersionUID = -4551508469760201464L;
    //单位编号，主键自增
    private Long comId;
    //单位名称
    private String comName;
    //  是否代理商：0是，1否
    private Long isAgent;
    //代理商id，0：代理商
    private Long agentId;
    //单位类型，预留
    private Long comType;
    //单位状态，预留
    private Long comStatus;
    //所在省份
    private String province;
    //所在城市
    private String city;
    //单位卡颜色
    private String color;

    private Long isAccess;

    private Long isSale;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
